﻿using PMS.Client.Entities;

namespace PMS.Client.IBLL
{
    public interface IUserService
    {
        EmployeeEntity Login(string username, string password);

        bool UpdatePassword(int id, string opd, string npd);

        EmployeeEntity[] GetUsers(string key);
        EmployeeEntity[] GetUsersByIds(int[] ids);

        int UpdateUser(EmployeeEntity entity);

        int DeleteUser(int id);

        bool LockUser(int id, int status);

        bool CheckUserName(string username, int id);

        int SaveUserRoles(RoleUser[] roleUsers);

        int ResetPassword(int id);
    }
}
